package com.sun.showcase.client.domain.mall;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

public class Comment implements java.io.Serializable{
	private static final long serialVersionUID = 5454155825314635342L;
    /**
     * ID       db_column: id 
     */	
	private java.lang.String id;
    /**
     * 几星       db_column: start 
     */	
	private java.lang.Integer start;
    /**
     * 内容       db_column: content 
     */	
	private java.lang.String content;
    /**
     * 店铺id       db_column: shop_id 
     */	
	private java.lang.String shopId;
    /**
     * 用户id       db_column: user_id 
     */	
	private java.lang.String userId;
    /**
     * 用户名       db_column: user_name 
     */	
	private java.lang.String userName;
    /**
     * 订单id       db_column: order_id 
     */	
	private java.lang.String orderId;
    /**
     * 订单号       db_column: order_no 
     */	
	private java.lang.String orderNo;
    /**
     * 商品id       db_column: goods_id 
     */	
	private java.lang.String goodsId;
    /**
     * 商品名       db_column: goods_name 
     */	
	private java.lang.String goodsName;
    /**
     * SKU_ID       db_column: sku_id 
     */	
	private java.lang.String skuId;
    /**
     * SKU名       db_column: sku_name 
     */	
	private java.lang.String skuName;
    /**
     * 是否显示（1是0否）       db_column: show_status 
     */	
	private java.lang.String showStatus;
    /**
     * 回复       db_column: reply 
     */	
	private java.lang.String reply;
    /**
     * 排序号       db_column: order_num 
     */	
	private java.lang.Integer orderNum;
    /**
     * 创建时间       db_column: create_date 
     */	
	private java.util.Date createDate;
	
	private String headImage;
	
	public String getHeadImage() {
		return headImage;
	}

	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}
	//columns END

	public Comment(){
	}

	public Comment(
		java.lang.String id
	){
		this.id = id;
	}

	public void setId(java.lang.String value) {
		this.id = value;
	}
	
	public java.lang.String getId() {
		return this.id;
	}
	public void setStart(java.lang.Integer value) {
		this.start = value;
	}
	
	public java.lang.Integer getStart() {
		return this.start;
	}
	public void setContent(java.lang.String value) {
		this.content = value;
	}
	
	public java.lang.String getContent() {
		return this.content;
	}
	public void setShopId(java.lang.String value) {
		this.shopId = value;
	}
	
	public java.lang.String getShopId() {
		return this.shopId;
	}
	public void setUserId(java.lang.String value) {
		this.userId = value;
	}
	
	public java.lang.String getUserId() {
		return this.userId;
	}
	public void setUserName(java.lang.String value) {
		this.userName = value;
	}
	
	public java.lang.String getUserName() {
		return this.userName;
	}
	public void setOrderId(java.lang.String value) {
		this.orderId = value;
	}
	
	public java.lang.String getOrderId() {
		return this.orderId;
	}
	public void setOrderNo(java.lang.String value) {
		this.orderNo = value;
	}
	
	public java.lang.String getOrderNo() {
		return this.orderNo;
	}
	public void setGoodsId(java.lang.String value) {
		this.goodsId = value;
	}
	
	public java.lang.String getGoodsId() {
		return this.goodsId;
	}
	public void setGoodsName(java.lang.String value) {
		this.goodsName = value;
	}
	
	public java.lang.String getGoodsName() {
		return this.goodsName;
	}
	public void setSkuId(java.lang.String value) {
		this.skuId = value;
	}
	
	public java.lang.String getSkuId() {
		return this.skuId;
	}
	public void setSkuName(java.lang.String value) {
		this.skuName = value;
	}
	
	public java.lang.String getSkuName() {
		return this.skuName;
	}
	public void setShowStatus(java.lang.String value) {
		this.showStatus = value;
	}
	
	public java.lang.String getShowStatus() {
		return this.showStatus;
	}
	public void setReply(java.lang.String value) {
		this.reply = value;
	}
	
	public java.lang.String getReply() {
		return this.reply;
	}
	public void setOrderNum(java.lang.Integer value) {
		this.orderNum = value;
	}
	
	public java.lang.Integer getOrderNum() {
		return this.orderNum;
	}
	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}
	
	public java.util.Date getCreateDate() {
		return this.createDate;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	
	public int hashCode() {
		return new HashCodeBuilder()
			.append(getId())
			.toHashCode();
	}
	
	public boolean equals(Object obj) {
		if(obj instanceof Comment == false) return false;
		if(this == obj) return true;
		Comment other = (Comment)obj;
		return new EqualsBuilder()
			.append(getId(),other.getId())
			.isEquals();
	}
}

